﻿package com.flashframeless.gallery.modules.footer {
	
	import com.flashframeless.gallery.modules.footer.player.Player;
	import flash.display.MovieClip;
	import flash.display.Sprite;
	
	public class Footer extends MovieClip {
		
		private var _bg:Sprite;
		private var _player:Player;
		
		public function Footer() {
			
			instanciate();
			
		}
		
		private function instanciate():void {
			
			
			
			setupInteractions();
			
		}
		
		private function setupInteractions():void {
			
			
			
		}
		
		public function updateSize():void {
			
			_bg.width = stage.stageWidth;
			_player.x = _bg.width / 2 - _player.width / 2;
			
		}
		
	}
	
}